<div>
  <foreach n="(list 0 1 2 3 4 5 6)">
    <choose test="(= n 6)">
      <then>
	<p>That's all.</p>
      </then>
      <else>
	<p>Factorial #{n} = #{(fact n)}</p>
      </else>
    </choose>
  </foreach>
</div>
